<template>
  <div class="orderForm">
    <el-table v-loading="pageLoading" class="red-header" :data="tableData" style="width: 100%">
      <el-table-column prop="staffName" label="人员名称">
      </el-table-column>
      <el-table-column prop="createTime" label="创建时间"> </el-table-column>
    </el-table>
  </div>
</template>
  
  <script>
export default {
  props: {
    pageLoading: {
      type: Boolean,
      default: false
    },
    tableData: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {};
  },

};
</script>
<style lang="scss" scoped>
::v-deep .red-header .el-table__header th {
  background-color: rgb(242, 243, 245);
  color: #000; /* 可选：为了确保文字颜色与背景对比度良好，可以设置文本颜色为白色 */
}
</style>